﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using B2B.Business;
using WeiDuan.Model;

namespace B2B.Service
{
    public interface ICartService
    {
        void Add(ProductCartAddRequest req, UserInfo user);

        void AddBatch(List<ProductCartAddRequest> req, UserInfo user);

        void Update(ProductCartUpdateRequest req, UserInfo user);

        void Remove(string id, UserInfo user);

        void RemoveAll(UserInfo user);

        List<CartItemInfo> Query(UserInfo user);
    }
}
